﻿<%@ Page Language="C#" MasterPageFile="~/SSMasterPage.master" AutoEventWireup="true"
    CodeFile="ShowTableSchemaSMO.aspx.cs" Inherits="ShowTableSchemaSMO" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:UpdateProgress ID="UpdateProgress1" runat="server">
        <ProgressTemplate>
            <asp:Image ID="ux_loaging" runat="server" ImageUrl="~/images/loading.gif" />
            資料讀取中...
        </ProgressTemplate>
    </asp:UpdateProgress>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:Panel ID="pnl_TableSchema" runat="server" Visible="false">
                資 料 表 名 稱：<asp:Label ID="ux_TBName" runat="server"></asp:Label><br />
                建&nbsp; 立 &nbsp;日 &nbsp;期&nbsp; ：<asp:Label ID="ux_CreateDate" runat="server"></asp:Label><br />
                最後修改日期：<asp:Label ID="ux_LastModifyDate" runat="server"></asp:Label>
                <p></p>
                <div>
                    <asp:GridView ID="gvView" runat="server" AutoGenerateColumns="False" Width="100%">
                        <Columns>
                            <asp:BoundField DataField="PK" HeaderText="PK">
                                <ItemStyle HorizontalAlign="Center" />
                                <HeaderStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField DataField="ColumnName" HeaderText="欄位名稱" >
                                <HeaderStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField DataField="DataType" HeaderText="資料型態" >
                                <HeaderStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField DataField="MaximunLength" HeaderText="長度">
                                <ItemStyle HorizontalAlign="Center" />
                                <HeaderStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField DataField="NullAble" HeaderText="Null">
                                <ItemStyle HorizontalAlign="Center" />
                                <HeaderStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Default" HeaderText="預設值">
                                <ItemStyle HorizontalAlign="Center" />
                                <HeaderStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Descriptions" HeaderText="說明" >
                                <HeaderStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                        </Columns>
                        <HeaderStyle BackColor="Silver" />
                    </asp:GridView>
                </div>
            </asp:Panel>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
